package com.fowo.api.model.product;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import javax.validation.constraints.*;
import lombok.Data;

/** 可选包装方案 导入导出辅助模型 */
@Data
public class ProductPackExcelPo {

  @ExcelProperty(value = "所属产品")
  private String productIdName;

  @ExcelIgnore
  @ExcelProperty(value = "所属产品")
  private Long productId;

  @Size(max = 50, message = "方案长度不能超过20")
  @ExcelProperty(value = "方案")
  private String packIdName;

  @ExcelIgnore
  @ExcelProperty(value = "方案")
  private Long packId;

  @Size(max = 50, message = "方案编码长度不能超过20")
  @ExcelProperty(value = "方案编码")
  private String packCode;
}
